package bd.com.escenic.flexilunch.model;

/**
 * $URL: http://flexilunch.googlecode.com/svn/trunk/common/src/main/java/bd/com/escenic/flexilunch/model/User.java $
 * $Id: User.java 7 2009-05-20 09:54:57Z shihab.uddin@gmail.com $
 * $Date: 2009-05-20 09:54:57 +0000 (Wed, 20 May 2009) $
 * $Author: shihab.uddin@gmail.com $
 * $Revision: 7 $
 */

import java.util.Set;

/**
 * $Id: User.java 7 2009-05-20 09:54:57Z shihab.uddin@gmail.com $.
 *
 * @author <a href="mailto:shihab.uddin@gmail.com">Shihab Uddin</a>
 * @version $Revision: 7 $
 */
public interface User extends Entity {

  String getEncryptedPassword();

  void setEncryptedPassword(String pEncryptedPassword);

  String getFullName();

  void setFullName(String pFullName);

  String getEmail();

  void setEmail(String pEmail);

  Role getRole();

  void setRole(Role pRole);

  Set<Order> getOrders();

  void setOrders(Set<Order> pOrders);

  Set<Payment> getPayments();

  void setPayments(Set<Payment> pPayments);

  Set<Cost> getCosts();

  void setCosts(Set<Cost> pCosts);

  double getBalance();
}
